<%@page import="com.alibaba.dubbo.demo.bean.PmsBilInfo"%>
<%@page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<div class="pageContent">
<%
		PmsBilInfo item = new PmsBilInfo();
		String action = "edit";
		if(request.getParameter("action")!=null)
			action = request.getParameter("action");
		
		String option = "./savePmsBilInfo";
		String readonlgtag="";
		if(action.equals("edit")) 
		{
			 option = "./updatePmsBilInfo";
			 readonlgtag = "readonly=\"readonly\"";
			 
			 if (request.getSession().getAttribute("pmsBilInfo") != null) {
				item = (PmsBilInfo) request.getSession().getAttribute("pmsBilInfo");
			}
		}
%> 				
<script language="JavaScript">
		
</script>
	<form method="post" action="<%=option%>" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<p>
			   <label>ID：</label>
			   <input name="id" id="id"  type="text" size="30" value="<%=item.getId()%>"   alt="请输入ID" />
			</p> 
			<p>
			   <label>订单编号：</label>
			   <input name="billcode" id="billcode"  type="text" size="30" value="<%=item.getBillcode()%>"   alt="请输入订单编号" />
			</p> 
			<p>
			   <label>日期：</label>
			   <input name="billdate" id="billdate"  type="text" size="30" value="<%=item.getBilldate()%>"   alt="请输入日期" />
			</p> 
			<p>
			   <label>订单数量：</label>
			   <input name="machinenum" id="machinenum"  type="text" size="30" value="<%=item.getMachinenum()%>"   alt="请输入订单数量" />
			</p> 
			<p>
			   <label>操作员：</label>
			   <input name="operater" id="operater"  type="text" size="30" value="<%=item.getOperater()%>"   alt="请输入操作员" />
			</p> 
			<p>
			   <label>电话：</label>
			   <input name="telphone" id="telphone"  type="text" size="30" value="<%=item.getTelphone()%>"   alt="请输入电话" />
			</p> 
			

		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
<script type="text/javascript">
  	$("body").ready(function() {
  		
  	});	
</script>  	
</div>
